package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 随手拍记录-test2对象 t_snap_pic_record
 * 
 * @author ruoyi
 * @date 2023-04-01
 */
public class SnapPicRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /** 检查人用户id */
    @Excel(name = "检查人用户id")
    private Long userId;

    /** 0异常 1正常 */
    @Excel(name = "0异常 1正常")
    private Long checkState;

    /** 检查时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "检查时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date checkTime;

    /** 整改状态 0待整改 1整改中 2已整改 */
    @Excel(name = "整改状态 0待整改 1整改中 2已整改")
    private Long rectifyState;

    /** 图片列表；分割 */
    @Excel(name = "图片列表；分割")
    private String picList;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setCheckState(Long checkState) 
    {
        this.checkState = checkState;
    }

    public Long getCheckState() 
    {
        return checkState;
    }
    public void setCheckTime(Date checkTime) 
    {
        this.checkTime = checkTime;
    }

    public Date getCheckTime() 
    {
        return checkTime;
    }
    public void setRectifyState(Long rectifyState) 
    {
        this.rectifyState = rectifyState;
    }

    public Long getRectifyState() 
    {
        return rectifyState;
    }
    public void setPicList(String picList) 
    {
        this.picList = picList;
    }

    public String getPicList() 
    {
        return picList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("checkState", getCheckState())
            .append("checkTime", getCheckTime())
            .append("rectifyState", getRectifyState())
            .append("picList", getPicList())
            .append("remark", getRemark())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
